package com.xzr.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Author：jojo
 * @Date：2022/1/24 16:30
 * @Description :TODO
 */
@Controller
@RequestMapping("/form")
public class FormSendParamsController {
    @RequestMapping("/ff")
    public ModelAndView receiveParameters(String name){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.addObject("msg",name);
        modelAndView.setViewName("MyTest");
        return  modelAndView;
    }
}
